#pragma once

#include "scr_rect.h"

struct SCRPowerUp
{
	SCRPowerUp();
	SCRPowerUp(const int& GridX, const int& GridY, const int& Power);
	bool Intersect(const SCRRect& Rect) const;
	int GetPower() const;
	bool IsActive() const;

	int m_Active;
	int m_Power;
	SCRRect m_Rect;
};

inline int SCRPowerUp::GetPower() const
{
	return m_Power;
}

inline bool SCRPowerUp::IsActive() const
{
	return m_Active != 0;
}
